using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Base;

namespace Entities.ActorClasses
{
    public class Ship : Actor
    {
        public Ship(Game game, ActorInfo info, EntityController parent)
            : base(game, info, parent)
        {
        }
        public override void Draw(Matrix world, Matrix view, Matrix projection)
        {
            foreach (ModelMesh mesh in _model.Meshes)
            {
                Sphere = mesh.BoundingSphere;
                foreach (BasicEffect effect in mesh.Effects)
                {
                    effect.World = world;
                    effect.View = view;
                    effect.Projection = projection;
                    effect.EnableDefaultLighting();
                }
                mesh.Draw();
            }
        }
        public override void UpdateSpecific(GameTime gameTime)
        {
        }
    }
}
